can a writ petition be withdrawn